 @layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="roleInfoForm">
		
			<input type="hidden" id="id" value="${role.id}">

			<div class="row">
				<div class="col-sm-6 b-r">
					<#input id="name" name="角色名称" underline="true" value="${role.name}"/>
					<#input id="pName" name="上级名称 *" underline="true" value="${pName}"
					hidden="pid" readonly="readonly" hiddenValue="${role.pid}"
					clickFun="RolInfoDlg.showPNameSelectTree(); return false;"
					style="background-color: #ffffff !important;"
					selectFlag="true" selectId="roleNameTreeDiv" selectTreeId="pNameTree"
					selectStyle="width:244px !important;"/>



					<#input id="deptName" name="部门名称 *" underline="true" value="${deptName}"
					hidden="deptid" readonly="readonly" hiddenValue="${role.deptid}"
					clickFun="RolInfoDlg.showDeptSelectTree(); return false;"
					style="background-color: #ffffff !important;"
					selectFlag="true" selectId="roleTreeDiv" selectTreeId="deptTree"
					selectStyle="width:244px !important;"/>

				</div>
				<div class="col-sm-6">
					<#input id="tips" name="别名" underline="true" value="${role.tips}"/>
					<#input id="num" name="排序" value="${role.num}"/>
				</div>
			</div>



			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="RolInfoDlg.editSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="RolInfoDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/modular/system/role/role_info.js"></script>
@}
